package cn.vivi.oss.util;

import java.util.Arrays;

public class StringUtils {

    public static String splitFilePath(String filePath) {
        StringBuilder builder = new StringBuilder();
        Arrays.stream(filePath.split("/")).skip(3).forEach(s -> {
            builder.append("/" + s);
        });
        return builder.deleteCharAt(0).toString();
    }

}
